package aliyun

// Client 定义客户端接口
type Client interface {
	GetAccessKeyID() string
	GetAccessKeySecret() string
	GetRegionID() string
}

// BaseClient 提供基础客户端实现
type BaseClient struct {
	AccessKeyId     string
	AccessKeySecret string
	RegionId        string
}

func NewBaseClient(accessKeyID, accessKeySecret, regionID string) *BaseClient {
	return &BaseClient{
		AccessKeyId:     accessKeyID,
		AccessKeySecret: accessKeySecret,
		RegionId:        regionID,
	}
}

func (c *BaseClient) GetAccessKeyID() string {
	return c.AccessKeyId
}

func (c *BaseClient) GetAccessKeySecret() string {
	return c.AccessKeySecret
}

func (c *BaseClient) GetRegionID() string {
	return c.RegionId
}
